<!DOCTYPE html>

<html>

<head>
	
	<meta charset="utf-8">
	
	<title><?=CONFIG_PROJECT_NAME?></title>
	
	<!--[if IE]>
	<script src="http://html5shiv.googlecode.com/svn/trunk/html5.js"></script>
	<![endif]-->
	
	<!-- RESET -->
	<link rel="stylesheet" href="<?=CONFIG_SYSTEM_URL?>css/reset.css" type="text/css" />
	
	<!-- BOOTSTRAP -->
	<link rel="stylesheet" href="<?=CONFIG_SYSTEM_URL?>css/bootstrap.css">
	
	<!-- JQUERY UI -->
	<link rel="stylesheet" href="<?=CONFIG_SYSTEM_URL?>css/jquery-ui-1.8.16.custom.css">
	<link rel="stylesheet" href="<?=CONFIG_SYSTEM_URL?>css/jquery-ui-bootstrap.css">
	
	<!-- MAGNET -->
	<link rel="stylesheet" href="<?=CONFIG_SYSTEM_URL?>css/style.css">
	

</head>

<body>

	<header>

	<div class="topbar">
		<div class="fill">
			<div class="container">
			<a class="brand" href="<?=ROUTE?>"><?=CONFIG_PROJECT_NAME?></a>
				<ul class="nav">
					<? foreach (Helpers::sections() as $section): ?>
						<li <? if($section['table'] == $options["table"]): ?> class="active" <? endif; ?> >
							<a href="<?=ROUTE?><?=$section['table']?>/">
								<? if($section['alias']): ?>
									<?=ucfirst($section['alias'])?>
								<? else: ?>
									<?=ucfirst($section['table'])?>
								<? endif; ?>
							</a>
						</li>
					<? endforeach; ?>
				</ul>
				<ul class="nav secondary-nav">
					<li><a href="<?=CONFIG_SYSTEM_URL?>logout/"><?=__("Logout", "en")?></a></li>
				</ul>				
			</div>
		</div>
	</div>
	
	</header>
	
